home *** CD-ROM | disk | FTP | other *** search
/ Business Shareware / Business Shareware.iso / start / gfxapps / pbmpl91d / pbmplus / man / _ppmquan.man next >
Text File  |  1993-01-08  |  2KB  |  71 lines

  1.  
  2.  
  3. ppmquantall(1)             Unix Programmer's Manual             ppmquantall(1)
  4.  
  5.  
  6. NAME
  7.      ppmquantall - run ppmquant on a bunch of files all at once, so they share
  8.      a common colormap
  9.  
  10. SYNOPSIS
  11.      ppmquantall ncolors ppmfile ...
  12.                  ------- -------
  13.  
  14. DESCRIPTION
  15.      Takes a bunch of portable pixmap as input.   Chooses  ncolors  colors  to
  16.                                                            -------
  17.      best  represent  all  of  the images, maps the existing colors to the new
  18.      ones, and overwrites the input files with the new quantized versions.
  19.  
  20.      Verbose explanation: Let's say you've got a dozen pixmaps that  you  want
  21.      to  display  on  the  screen  all at the same time.  Your screen can only
  22.      display 256 different colors, but the pixmaps have a total of a  thousand
  23.      or  so different colors.  For a single pixmap you solve this problem with
  24.      ppmquant; this script solves it for multiple pixmaps.   All  it  does  is
  25.      --------
  26.      concatenate  them together into one big pixmap, run ppmquant on that, and
  27.                                                          --------
  28.      then split it up into little pixmaps again.
  29.  
  30.      (Note that another way to solve this problem is to pre-select  a  set  of
  31.      colors  and  then  use ppmquant's -map option to separately quantize each
  32.                             --------
  33.      pixmap to that set.)
  34.  
  35. SEE ALSO
  36.      ppmquant(1), ppm(5)
  37.  
  38. BUGS
  39.      It's a csh script.  Csh scripts are not portable to System V.  Scripts in
  40.      general are not portable to non-Unix environments.
  41.  
  42. AUTHOR
  43.      Copyright (C) 1991 by Jef Poskanzer.
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.                                 27 July 1990                                 1
  70.  
  71.